package com.autumn.swagger.configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * API 文档的主要 配置信息
 *
 * @author xinghua
 * @date 2018/12/21
 * @since 1.0.0
 */
class AutumnApiInfo {
    private String title;
    private String description;
    private String version;
    private String license;
    private String licenseUrl;
    private boolean enableAuthorize;
	private String authorizeHeader;
    private String authorName;
    private String authorUrl;
    private String authorEmail;
    private List<AutumnApiGroupInfo> groups;
	private List<AutumnApiHeaderParameterInfo> headerParameters;

    public AutumnApiInfo() {
        groups = new ArrayList<>();
        headerParameters = new ArrayList<>();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getLicenseUrl() {
        return licenseUrl;
    }

    public void setLicenseUrl(String licenseUrl) {
        this.licenseUrl = licenseUrl;
    }
    
    public boolean isEnableAuthorize() {
		return enableAuthorize;
	}

	public void setEnableAuthorize(boolean enableAuthorize) {
		this.enableAuthorize = enableAuthorize;
	}

	public String getAuthorizeHeader() {
		return authorizeHeader;
	}

	public void setAuthorizeHeader(String authorizeHeader) {
		this.authorizeHeader = authorizeHeader;
	}   

    public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getAuthorUrl() {
		return authorUrl;
	}

	public void setAuthorUrl(String authorUrl) {
		this.authorUrl = authorUrl;
	}

	public String getAuthorEmail() {
		return authorEmail;
	}

	public void setAuthorEmail(String authorEmail) {
		this.authorEmail = authorEmail;
	}

	public List<AutumnApiGroupInfo> getGroups() {
        return groups;
    }

    public void setGroups(List<AutumnApiGroupInfo> groups) {
        this.groups = groups;
    }

	public List<AutumnApiHeaderParameterInfo> getHeaderParameters() {
		return headerParameters;
	}

	public void setHeaderParameters(List<AutumnApiHeaderParameterInfo> headerParameters) {
		this.headerParameters = headerParameters;
	}
}